package com.example.mybatisdemo.model;

import java.io.Serializable;

/**
 * describe: 持久层用户数据模型
 *
 * @author xugang
 * @date 2019/1/3 15:06
 */
public class UserModel implements Serializable {
    private static final long serialVersionUID = -5927251689950464213L;

    //username,nickname,sex,birthday,mobile_phone,email

    private String userId; // 用户唯一标识
    private String username; // 用户名
    private String nickname; // 昵称
    private int sex; // 性别
    private String mobilePhone; // 手机号码
    private String email; // 邮箱

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
